package com.hbnu.service;

import com.hbnu.pojo.PageModel;
import com.hbnu.pojo.Record;
import com.hbnu.pojo.User;

import java.util.List;

public interface RecordService {
    List<Record> findRecords(String startDate, String endDate, String dormBuildId, String searchType, String keyword, User userCurr, PageModel pageModel);

    Integer getTotalNum(String startDate, String endDate, String dormBuildId, String searchType, String keyword, User userCurr);

    Record findById(int id);

    void update(Record record);

    void save(Record record);
}
